package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import java.time.LocalDate;

public interface ReportService {

    /**
     * 营业额统计
     * @param begin
     * @param end
     * @return com.sky.vo.TurnoverReportVO
     * @author zhupp
     * @create 2025/2/28
     **/
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    /**
     * 用户统计
     * @param begin
     * @param end
     * @return com.sky.vo.UserReportVO
     * @author zhupp
     * @create 2025/2/28
     **/
    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    /**
     * 订单统计
     * @param begin
     * @param end
     * @return com.sky.vo.OrderReportVO
     * @author zhupp
     * @create 2025/2/28
     **/
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    /**
     * Top10
     * @param begin
     * @param end
     * @return com.sky.vo.SalesTop10ReportVO
     * @author zhupp
     * @create 2025/2/28
     **/
    SalesTop10ReportVO salesTop10ReportVO(LocalDate begin, LocalDate end);
}
